package vn.edu.saigontech.ncms.web;

import vn.edu.saigontech.ncms.model.enumeration.Result;

public class ErrorMessage {
	private Result type;
	private String message;
	
	public ErrorMessage(Result type, String message) {
		this.type = type;
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Result getType() {
		return this.type;
	}

	public void setType(Result type) {
		this.type = type;
	}
}